from punq import Container

from di_container.registers import register_settings
from src.settings import KafkaSettings, PostgreSQLSettings, S3Settings


def get_app_container() -> Container:
    container = Container()

    # Added environment settings - configs/creds
    register_settings(container, S3Settings)
    register_settings(container, KafkaSettings)
    register_settings(container, PostgreSQLSettings)

    return container
